package com.qiang.test01;

public class Cat extends Dog {
    public static void main(String[] args) {
        Dog d = new Dog();
        d.eat();

    }
    public void method(){
        System.out.println("猫吃鱼");
    }
}
